from .base import *
from google.oauth2 import service_account

DATABASES = {
    'default': {
        'ENGINE': 'django_tenants.postgresql_backend',
        'HOST': config('STAGING_DATABASE_HOST'),
        'NAME': config('STAGING_DATABASE_NAME'),
        'USER': config('STAGING_DATABASE_USERNAME'),
        'PASSWORD': config('STAGING_DATABASE_PASSWORD'),
    }
}

GS_CREDENTIALS = service_account.Credentials.from_service_account_file(
    config('STAGING_GCS_CREDENTIALS')
)

PROVIDER_URL = config('STAGING_PROVIDER_URL')
CLIENT_URL = config('STAGING_CLIENT_URL')
ADMIN_URL = config('STAGING_ADMIN_URL')


STRIPE_SECRET_KEY = config('STRIPE_SECRET_LIVE_KEY')
BUCKET_BLOB_PATH = config('STAGING_BUCKET_BLOB_PATH')
GS_BUCKET_NAME = config('STAGING_GS_BUCKET_NAME')

FCM_FILE_PATH = '/home/m_ashir/Ethera-Tenant/fcm-dev.json'

